﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Freetour.UI.Models.Membership.Account.LoginOnModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <center>
        <fieldset>
            <% Html.EnableClientValidation(); %>
            <% Html.BeginForm("Login", "User", FormMethod.Post); %>
            <legend>登陆</legend>
            <div>
                <div>
                    <%= Html.LabelFor(model => model.UserID) %>
                    :
                    <%= Html.TextBoxFor(model=> model.UserID) %>
                    <%= Html.ValidationMessageFor(model => model.UserID) %>
                </div>
                <div>
                    <%= Html.LabelFor(model => model.Password) %>
                    :
                    <%= Html.PasswordFor(model=> model.Password) %>
                    <%= Html.ValidationMessageFor(model => model.Password) %>
                </div>
                <div>
                    <%= Html.LabelFor(model => model.AutoLogin) %>:
                    <%= Html.CheckBoxFor(model => model.AutoLogin) %>
                </div>
                <div>
                    <%= Html.ActionLink("注册", "Register", "User")%>
                    <%= Html.ActionLink("忘记密码", "ForgotPassword", "User")%>
                </div>
                    <input id="login_button" type="submit" tabindex="4" value="登录"/>
            </div>
            <% Html.EndForm(); %>
        </fieldset>
    </center>
</asp:Content>
